-- GENERATED SPELL FOR [Arctic Grizzly] --


function spell0_26482(pUnit, Event) --@Recently Inoculated,Self--
pUnit:FullCastSpellOnTarget(47675,pUnit)
pUnit:RegisterEvent('Sorts_26482', 587, 1)
end

function spell1_26482(pUnit, Event) --@Summon Cub,n/a--
pUnit:FullCastSpellOnTarget(47212,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26482', 661, 1)
end

function Sorts_26482(pUnit, Event)
local choix_sorts_26482 = math.random(0, 1)
if choix_sorts_26482 == 0 then
pUnit:RegisterEvent('spell0_26482', 1, 1)
end
if choix_sorts_26482 == 1 then
pUnit:RegisterEvent('spell1_26482', 1, 1)
end
end

function mob26482_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26482', math.random(1500, 3000), 1)
end

function mob26482_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26482_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26482_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26482, 1, 'mob26482_Action')
RegisterUnitEvent(26482, 2, 'mob26482_Leave')
RegisterUnitEvent(26482, 3, 'mob26482_Kill')
RegisterUnitEvent(26482, 4, 'mob26482_Die')
